﻿using System.Windows;
using Jade.Tools.SL.Windows;
using Jade.Tools.SL.Windows.Extensions;
using System;

namespace MediaBrowserSL.RIA.MvvmUtils.UI
{
    public class CustomMessageBoxVisualizer : ICustomMessageBoxVisualizer
    {
        public MessageBoxResult Show(Action<MessageBoxResult> closeCallback, string messageBoxText)
        {
            return CustomMessageBox.Show(closeCallback, messageBoxText);
        }

        public MessageBoxResult Show(Action<MessageBoxResult> closeCallback, string messageBoxText, string caption)
        {
            return CustomMessageBox.Show(closeCallback, messageBoxText, caption);
        }

        public MessageBoxResult Show(Action<MessageBoxResult> closeCallback, string messageBoxText, string caption, MessageBoxButton button)
        {
            return CustomMessageBox.Show(closeCallback, messageBoxText, caption, button);
        }

        public MessageBoxResult Show(Action<MessageBoxResult> closeCallback, string messageBoxText, string caption, MessageBoxButton button, MessageBoxImage icon)
        {
            return CustomMessageBox.Show(closeCallback, messageBoxText, caption, button, icon);
        }
    }
}
